/// @description Insert description here
// You can write your code in this editor
if(state == PlayerStateDead)
{
	global.playerHealth = global.playerHealthMax;	
}
